﻿using System;

namespace SfsTools.Core
{
    /// <summary>
    /// Interface for getting notifications when an index area entry is relocated.
    /// </summary>
    internal interface IEntryMoveCallback
    {
        /// <summary>
        /// Called when the entry is relocated.
        /// </summary>
        /// <param name="prev">The previous index area entry index.</param>
        /// <param name="current">The current index area entry index.</param>
        void OnRelocated(int prev, int current);
    }
}
